package com.envcloud.ui;

import com.envcloud.dto.UserDto;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * File Name             :  DevServiceP1Ui
 * Author                :  luhao
 * Create Date           :  2017/8/14
 * Description           :
 * Reviewed By           :
 * Reviewed On           :
 * Version History       :
 * Modified By           :
 * Modified Date         :
 * Comments              :
 * CopyRight             : COPYRIGHT(c) www.envcloud.com.cn (环境云) All Rights Reserved
 * *******************************************************************************************
 */
@FeignClient(value = "DevServiceP1", fallback = DevServiceP1FailBack.class)
public interface DevServiceP1Ui {
    @PostMapping(value = "/sayHello", consumes = "application/json", produces = "application/json")
    String sayHallo(UserDto userDto);
}
